DicomObjects.NET10 Documentation
DicomObjects Namespace / DicomImage3D Class / SetTransferFunction Method / SetTransferFunction(IEnumerable<KeyValuePair<Int32,SKColor>>) Method
The list of pixel value-color pairs.



In This Topic
    SetTransferFunction(IEnumerable<KeyValuePair<Int32,SKColor>>) Method
    In This Topic
    Sets the transfer function from a list of pixel-color pairs.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetTransferFunction( _
       ByVal ColourList As IEnumerable(Of KeyValuePair(Of Integer,SKColor)) _
    ) 
    'Usage
     
    
    Dim instance As DicomImage3D
    Dim ColourList As IEnumerable(Of KeyValuePair(Of Integer,SKColor))
     
    instance.SetTransferFunction(ColourList)
    public void SetTransferFunction( 
       IEnumerable<KeyValuePair<int,SKColor>> ColourList
    )
    public:
    void SetTransferFunction( 
       IEnumerable<KeyValuePair<int,SKColor>>^ ColourList
    ) 

    Parameters

    ColourList
    The list of pixel value-color pairs.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also